package com.mybatis.demo.pojo.po;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 *@ClassName BaseWorker
 *@Author 郭承乐
 *@Date 2024/8/20 16:00
 *@Version 1.0
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(description = "员工信息")
public class BaseWorker {

    @ApiModelProperty(value = "id")
    private Integer id;

    @ApiModelProperty(value = "员工姓名")
    private String name;

    @ApiModelProperty(value = "员工性别")
    private Integer sex;

    @ApiModelProperty(value = "毕业院校")
    private String school;


    @ApiModelProperty(value = "身份证号")
    private String idCard;

    @ApiModelProperty(value = "电话")
    private String tel;

    @ApiModelProperty(value = "邮箱")
    private String email;

    @ApiModelProperty(value = "现居住地")
    private String currentResidence;

    @ApiModelProperty(value = "公司名称")
    private String companyName;

    @ApiModelProperty(value = "部门名称")
    private String deptName;

    @ApiModelProperty(value = "职务")
    private String job;

    @ApiModelProperty(value = "工号")
    private Integer code;

    @ApiModelProperty(value = "入职日期")
    private LocalDate employmentDate;



    private String extAttr1;

    private String extAttr2;

    private String extAttr3;

    @ApiModelProperty(value = "创建人id")
    private String createUserId;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新人id")
    private String updateUserId;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "是否删除")
    private Integer isDeleted;
}
